<?php
namespace App\Domain\Reader;

use Illuminate\Support\ServiceProvider;

class ReaderServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\Reader\Service\ReaderService',
            'App\Domain\Reader\Service\ReaderServiceImpl'
        );
        $this->app->singleton('readerService', function () {
            return $this->app->make('App\Domain\Reader\Service\ReaderService');
        });
    }
}
